package com.rem.myspring.service;

import com.rem.myspring.annotation.Di;
import com.rem.myspring.annotation.Mybean;
import com.rem.myspring.dao.UserDao;
import com.rem.myspring.entity.User;


/**
 * @author Rem
 * @date 2023/2/28
 */
@Mybean
public class UserServiceImpl implements UserService {

    @Di
    private UserDao userDao;

    @Override
    public void saveUser(User user) {
        userDao.saveUser(user);
    }
}
